/*
 * main.c
 *
 *  Created on: 29/07/2012
 *      Author: jose
 */
#include "clienteSocket/SocketCliente.h"

#include <stdio.h>


int main(){
	int fd,i = 0, aux;
	unsigned char wbuf[4], sbuf[4];
	inicializarConexionSocket(&fd);
	while(wbuf[0] != 'q'){
		printf("Escribe 4 caracteres para enviar al servidor: ");
		scanf("%s", wbuf);
		escribirSocket(fd, wbuf, 4);
	}
	terminarConexionSocket(fd);
	return 0;
}

